package net.realsee.service.wcs.work;

import com.baomidou.mybatisplus.extension.service.IService;
import net.realsee.domain.wcs.work.WcsJobPool;
import net.realsee.domain.wcs.work.bo.WcsJobPoolBo;
import net.realsee.domain.wcs.work.vo.WcsJobPoolVo;
import net.realsee.framework.core.domain.PageQuery;
import net.realsee.framework.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 作业池基础数据Service接口
 *
 * @author realsee
 * @date 2023-08-11
 */
public interface IWcsJobPoolService extends IService<WcsJobPool> {

    /**
     * 查询作业池基础数据
     */
    WcsJobPoolVo selectVoById(Long id);

    /**
     * 查询作业池基础数据列表
     */
    TableDataInfo<WcsJobPoolVo> selectVoPage(WcsJobPoolBo bo, PageQuery pageQuery);

    /**
     * 查询作业池基础数据列表
     */
    List<WcsJobPoolVo> selectVoList(WcsJobPoolBo bo);

    /**
     * 新增作业池基础数据
     */
    Boolean insertByBo(WcsJobPoolBo bo);

    /**
     * 修改作业池基础数据
     */
    Boolean updateByBo(WcsJobPoolBo bo);

    /**
     * 校验并批量删除作业池基础数据信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
}
